<ui:composition template="/WEB-INF/templates/splitted.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

	<ui:define name="sideNav">
		<h:panelGroup rendered="#{ request.remoteUser == null}">
			<ui:include src="/WEB-INF/templates/login.xhtml"/>
		</h:panelGroup>
		<h:panelGroup rendered="#{request.remoteUser != null}">
			<ui:include src="/WEB-INF/templates/customer/sideNav.xhtml" />
		</h:panelGroup>
	</ui:define>
</ui:composition>
